package main

import (
	"fmt"
	"github.com/gofiber/fiber"
	"gowork/productionInformation/controller"
	"gowork/productionInformation/utils"
)

func main()  {
	w := new(utils.Worker)
	for i:=1; i<=15; i++ {
		fmt.Println(w.GetId())
	}

	app := fiber.New()

	pic := new(controller.ProductionInformationController)
	app.Post("/insertProductionInformation", pic.InsertProductionInformation)
	app.Post("/queryProductionInformation", pic.QueryProductionInformation)

	app.Listen(6352)
}